-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better CE
error reporting when using use!
with and!
#17671
Better CE
error reporting when using use!
with and!
#17671
Conversation
❗ Release notes required
|
@edgarfgp Could it be better to highlight the |
…garfgp/fsharp into better-error-reporting-for-ce-use-and
Yeah I think that makes more sense. Thanks for the review. Update: Unfortunately there is not a dedicated range for only the |
@auduchinok I played around with your suggestion and I was able to update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff, I like this approach with adding trivia. Thanks for making diags better every week :)
@psfinaki I have more planned for CE in the upcoming weeks |
Description
use! may not be combined with and!
SynExprAndBangTrivia
to include alsoAndBangKeyword
rangeand!
range since it's what adds the error in the first place.Before
After
Checklist